package com.javaclimb.accounting.service;

import com.javaclimb.accounting.po.FlowBack;
import com.javaclimb.accounting.vo.CardVo;


import java.util.Date;
import java.util.List;

public interface FlowService {

    //得到所有流水
     List<FlowBack> getAllFlow(long userAccId, String userName, String type, Date startTime, Date endTime, String key,
                               String userReal, int pageNum, int pageSize);
    //改变时间
     Date changeTime(Date date, int time);
    //校验时间(返回date2比date1大多少天)
     int checkTime(Date date1, Date date2);
    //得到总条数
     int getTotalNumber(long userAccId, String type, String userName, Date startTime, Date endTime, String key,
                        String userReal, int pageNum, int pageSize);
    //得到银行卡号和名字
     CardVo getCardById(long cardId);

}
